package org.example.rowing.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.rowing.domain.Event;
import java.util.List;

@Mapper
public interface EventMapper {
    List<String> getAllEventNames();

    List<Event> selectAllEvents();

    Event selectEventById(Long id);

    Boolean insertEvent(Event event);

    Boolean updateEvent(Event event);

    Boolean deleteEvent(Long id);

    List<Event> selectEventByConditions(Event event);
}
